<?php

declare(strict_types=1);

namespace App\Fastapp\Model;

use Mine\MineModel;

/**
 * @property int $id 主键
 * @property array $name 名称
 * @property string $code 标识
 * @property int $status 1正常
 * @property int $is_withdrawal 提现0否1是
 * @property string $icon icon
 * @property array $config 配置
 * @property int $sort 排序
 */
class FastappPay extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'fastapp_pay';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'code', 'status', 'is_withdrawal', 'icon', 'config', 'sort'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'name' => 'array', 'status' => 'integer', 'is_withdrawal' => 'integer', 'config' => 'array', 'sort' => 'integer'];
}
